"""
@Time: 2020/12/28 下午 3:18
@Author: jinzhuan
@File: msra.py
@Desc: 
"""
from cognlp import *
from cognlp.io.loader.ws.msra import MSRALoader
from cognlp.io.processor.ws.msra import MsraWSProcessor

loader = MSRALoader()
train_data, dev_data, test_data = loader.load_all('../../../../cognlp/data/ws/msra/data/')
processor = MsraWSProcessor(label_list=loader.get_labels(), path='../../../../cognlp/data/ws/msra/data')
datable = processor.process(train_data)
dataset = DataTableSet(datable)
print(1)
